package com.vvitt.kotlinhiltcarhome.net

import com.vvitt.kotlinhiltcarhome.model.CarBrandItemModel
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @ClassName CarBrandApi
 * @author please call me police uncel
 * @since 2023/5/25.
 * @email 110
 * @Version: V1.0.0
 * @desciption CarBrandApi
 *
 * 13867153311
 **/
interface CarBrandApi {

    /**
     * @desciption 获取汽车品牌列表
     * @since 2023/5/25
     **/
    @GET("carBrand.do")
    suspend fun fetchCarBrandList(
        @Query("since") since : Int,
        @Query("pagesize") pageSize : Int
    ) : List<CarBrandItemModel>

}